package com.founder.ivrapi.modular.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.founder.ivrapi.modular.entity.CtiCdrEntity;
import org.apache.ibatis.annotations.Param;

/**
 * cti_cdr mapper接口
 */
public interface CtiCdrMapper extends BaseMapper<CtiCdrEntity> {
	/**
	 * 获取呼入号码是否24小时内打入过的数量
	 */
	int getCallerIn24HourCount(@Param("caller") String caller,@Param("called") String called);
}
